package com.logicalthinking.socialmall.entity;

import com.github.chenlijia1111.utils.core.annos.PropertyCheck;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.persistence.*;

/**
 * 系统设置表
 * @author chenLiJia
 * @since 2020-02-17 14:43:32
 * @version 1.0
 **/
@ApiModel("系统设置表")
@Table(name = "m_system_config")
public class SystemConfig {
    /**
     * 配置key
     */
    @ApiModelProperty("配置key")
    @PropertyCheck(name = "配置key")
    @Id
    @Column(name = "config_key")
    private String configKey;

    /**
     * 配置值
     */
    @ApiModelProperty("配置值")
    @PropertyCheck(name = "配置值")
    @Column(name = "config_value")
    private String configValue;

    public String getConfigKey() {
        return configKey;
    }

    public void setConfigKey(String configKey) {
        this.configKey = configKey;
    }

    public String getConfigValue() {
        return configValue;
    }

    public void setConfigValue(String configValue) {
        this.configValue = configValue;
    }
}